﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CompanyDetail.aspx.cs" Inherits="Main_Company_CompanyDetail"  %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Company Detail</title>
          
    <link href="../../Styles/accounts.css" rel="stylesheet" type="text/css" />  
</head>

<body>
    <form id="form1" runat="server">
    <div class="divmain">
    
    
    <div style="margin-left:20%; margin-right:20%; width:60%; border:solid 3px #f7f4f4; padding:10px;" >
       
        
        <asp:DetailsView ID="detailview" runat="server" AutoGenerateRows="false" DataKeyNames="CompId" CssClass ="detailview"   >
            <Fields>
                <asp:BoundField HeaderText="Company Name" DataField="CompName" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Trading Name" DataField="TradingName" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Buisness Type" DataField="BType" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Status " DataField="Status" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Accounting Enable" DataField="IsAccEnabled" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Invoicing Enable" DataField="IsInvcEnabled" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Inventory Enable" DataField="IsInvrEnabled" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Accounting Year Starting" DataField="BooksFromDate" DataFormatString="{0:dd-MMM-yy}" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Last Day Of Accounting Period" DataField="BooksEndDate" DataFormatString="{0:dd-MMM-yy}" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />  
                
                <asp:BoundField HeaderText="Address 1" DataField="Add1" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Address 2" DataField="Add2" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Address 3" DataField="Add3" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Address 4" DataField="Add4" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Place" DataField="place" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Pincode" DataField="Pincode" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Country" DataField="Country" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="State" DataField="State" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Phone" DataField="Phone" HeaderStyle-CssClass="header" ItemStyle-CssClass="item"/>
                <asp:BoundField HeaderText="Fax" DataField="Fax" HeaderStyle-CssClass="header" ItemStyle-CssClass="item"/>
                <asp:BoundField HeaderText="Email" DataField="Email" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Website" DataField="WebSite" HeaderStyle-CssClass="header" ItemStyle-CssClass="item"/>
                <asp:BoundField HeaderText="Buisness Activity" DataField="Activity" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Miscellaneous " DataField="Misc1" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Miscellaneous " DataField="Misc2" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                
                
                 <asp:BoundField HeaderText="Permanent Account no." DataField="Pan" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                 <asp:BoundField HeaderText="Pan Date" DataField="PanDate"  HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Tax Dedcution " DataField="TDSNo" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />                
                <asp:BoundField HeaderText="Tax Dedcution Date" DataField="TDSDate"  HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Vat Enable" DataField="IsVatEnable" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Vat No" DataField="VatNo" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Vat Date" DataField="VatDate"  HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Inter State Tax Enable" DataField="IsCSTEnable" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Inter State Tax No" DataField="CSTNo" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Inter State Tax Date" DataField="CSTDate" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Service Tax Enable" DataField="ISSTEnabled" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Service Tax No" DataField="SERTNo" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Service Tax Date" DataField="SERTNDate"  HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Central Excise Enable" DataField="ISCEEnabled" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Central Excise No " DataField="CEPAN" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Central Excise Date" DataField="CEPANDate"  HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Luxury Tax Enable" DataField="ISLTENABLED" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Luxury Tax Regn. No" DataField="LTNO" HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
                <asp:BoundField HeaderText="Luxury Tax Date" DataField="LTNDATE"  HeaderStyle-CssClass="header" ItemStyle-CssClass="item" />
             </Fields>     
             
        </asp:DetailsView>           
    </div>
    </div>
    </form>
</body>
</html>
